/*
 * @Description: 站办所对个人工作审批
 * @Author: oooh
 * @Date: 2024-04-23 17:55:21
 * @LastEditors: oooh
 * @LastEditTime: 2024-05-16 16:27:49
 * @FilePath: \Civil_Servant_Performance_PC\src\api\work-approval\dept-supervision\index.js
 */
import request from '@/utils/request'

// 工作纪实待审核部门列表
export function listDept(query) {
  return request({
    url: '/api/deptWorkPlans/results/deptList',
    method: 'get',
    params: query
  })
}

// 工作纪实待绩效办打分部门列表
export function listScoreDept(query) {
  return request({
    url: '/api/deptWorkPlans/results/supervisions/deptList',
    method: 'get',
    params: query
  })
}


// 工作纪实待审核列表
export function list(query) {
  return request({
    url: '/api/deptWorkPlans/results/audits',
    method: 'get',
    params: query
  })
}

// 审批部门工作纪实
export function approval(data) {
  return request({
    url: '/api/deptWorkPlans/results/audits',
    method: 'patch',
    data: data
  })
}
